package com.ideal.lx_mss.common;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 日志
 */
@Data
@TableName("mss_logs")
public class MssLogs {
    /**
     * 日志id
     */
    @TableId
    private String logId;
    /**
     * 日志方法;
     */
    private String method;
    /**
     *日志模块
     */
    private String model;
    /**
     *日志级别,info,err
     */
    private String level;
    /**
     * topic
     */
    private String topic;
    /**
     * 表名
     */
    private String tableName;
    /**
     * 描述
     */
    private String remark;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     *拉取记录id
     */
    private String formId;

    public MssLogs() {
    }

    public MssLogs(String logId, String method, String model, String level, String topic, String tableName, String remark, Date createTime, String formId) {
        this.logId = logId;
        this.method = method;
        this.model = model;
        this.level = level;
        this.topic = topic;
        this.tableName = tableName;
        this.remark = remark;
        this.createTime = createTime;
        this.formId = formId;
    }
}
